package com.lvandroid.player;

import android.app.Application;
import android.content.Context;

import com.lvandroid.play.Plugin;

public class MyApp extends Application {
private  static Context  context;
    @Override
    public void onCreate() {
        super.onCreate();
        context=getApplicationContext();
        new Thread(){
            @Override
            public void run() {
                Plugin.initSDK(MyApp.this);
            }
        }.start();
    }
    public   static   Context getAppContext(){
        return   context;
    }
}
